package com.dapp;

import com.service.DappService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.web3j.protocol.core.methods.response.EthGasPrice;

import java.io.File;
import java.io.IOException;
import java.math.BigDecimal;

public class Test2 {
    private static final Logger log = LoggerFactory.getLogger(Test2.class);
    public static void main(String[] args) throws IOException {
        String str=DappService.transfer("0x471912d13bbe0a91aaa553af4af048885943bd61",new BigDecimal("100"),new File("G:\\sw\\dapps\\web3jdemo\\UTC--2018-04-02T03-58-27.154176422Z--69eccf22bc78eb443e324869b8ec2f386baeb38d"),"123456789");
        System.out.println(str);
    }
}
